<?php

/**
 * @author   Leen
 * @date     2016/04/21
 */
namespace App\Interfaces;

use App\User;
use Illuminate\Database\Eloquent\Collection;

interface CouponService
{

    /**
     * @param User $user
     * @return mixed
     * 根据发放计划 发放优惠券
     * type 0 关注发放 1 条件发放
     *
     */
    public function sendCoupon(User $user,$type=0);

    public function getUserCoupon($user_id,$search);
}//end class CouponService